package cn.yuanqiao.cqbc.inspection.mapper;

import java.util.List;
import cn.yuanqiao.cqbc.inspection.domain.RegularInspections;

/**
 * 巡检定时任务Mapper接口
 * 
 * @author xy
 * @date 2024-06-20
 */
public interface RegularInspectionsMapper 
{
    /**
     * 查询巡检定时任务
     * 
     * @param id 巡检定时任务主键
     * @return 巡检定时任务
     */
    public RegularInspections selectRegularInspectionsById(Long id);

    /**
     * 查询巡检定时任务列表
     * 
     * @param regularInspections 巡检定时任务
     * @return 巡检定时任务集合
     */
    public List<RegularInspections> selectRegularInspectionsList(RegularInspections regularInspections);

    /**
     * 新增巡检定时任务
     * 
     * @param regularInspections 巡检定时任务
     * @return 结果
     */
    public int insertRegularInspections(RegularInspections regularInspections);

    /**
     * 修改巡检定时任务
     * 
     * @param regularInspections 巡检定时任务
     * @return 结果
     */
    public int updateRegularInspections(RegularInspections regularInspections);

    /**
     * 删除巡检定时任务
     * 
     * @param id 巡检定时任务主键
     * @return 结果
     */
    public int deleteRegularInspectionsById(Long id);

    /**
     * 批量删除巡检定时任务
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRegularInspectionsByIds(Long[] ids);
}
